﻿using System;
namespace Moonlite.Services.CodeCompletion
{
    public class AndromedaObjectField : AndromedaObjectWithSpecificChildren, IAndromedaObjectWithName, IAndromedaObjectWithImageIndex, IAndromedaMemberOfType, IAndromedaObjectWithVisibility
    {
        public int ImageIndex { get { return AndromedaImageIndexes.ImageIndexVariable; } }
        public string Name { get; set; }
        public string Visibility { get; set; }
        public string Type { get; set; }
        public string Value { get; set; }
        public bool Const { get; set; }
        public bool Static { get; set; }
        public override string ToString()
        {
            return Name;
        }

        public AndromedaObjectField()
        {

        }

        public AndromedaObjectField(AndromedaObject parent)
            : base(parent)
        {

        }
    }
}
